package com.unittec.zk.provider.exam.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.unittec.zk.provider.root.EntityRoot;
import lombok.Data;

/**
 * 试卷
 */
@Data
@TableName(value = "el_paper")
public class ElPaper extends EntityRoot implements Serializable {

    /**
     * 用户ID
     */
    @TableField(value = "user_id")
    private String userId;

    /**
     * 部门ID
     */
    @TableField(value = "depart_id")
    private String departId;

    /**
     * 规则ID
     */
    @TableField(value = "exam_id")
    private String examId;

    /**
     * 考试标题
     */
    @TableField(value = "title")
    private String title;

    /**
     * 考试时长
     */
    @TableField(value = "total_time")
    private Integer totalTime;

    /**
     * 用户时长
     */
    @TableField(value = "user_time")
    private Integer userTime;

    /**
     * 试卷总分
     */
    @TableField(value = "total_score")
    private Integer totalScore;

    /**
     * 及格分
     */
    @TableField(value = "qualify_score")
    private Integer qualifyScore;

    /**
     * 客观分
     */
    @TableField(value = "obj_score")
    private Integer objScore;

    /**
     * 主观分
     */
    @TableField(value = "subj_score")
    private Integer subjScore;

    /**
     * 用户得分
     */
    @TableField(value = "user_score")
    private Integer userScore;

    /**
     * 是否包含简答题
     */
    @TableField(value = "has_saq")
    private Byte hasSaq;

    /**
     * 试卷状态
     */
    @TableField(value = "`state`")
    private Integer state;

    /**
     * 截止时间
     */
    @TableField(value = "limit_time")
    private Date limitTime;

    private static final long serialVersionUID = 1L;
}